Cocktail Help Reference
Delete(T) Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > IRepository<T> Interface > Delete Method : Delete(T) Method



entity
Entity to be deleted.

Glossary Item Box

Marks the specified entity as to be deleted.

Syntax

Visual Basic (Declaration) 
Overloads Sub Delete( _
   ByVal entity As T _
) 
Visual Basic (Usage)Copy Code
Dim instance As IRepository(Of T)
Dim entity As T
 
instance.Delete(entity)
C# 
void Delete( 
   T entity
)
C++/CLI 
void Delete( 
   T^ entity
) 

Parameters

entity
Entity to be deleted.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.